package com.mg.game.base;

import android.graphics.Canvas;
import android.view.MotionEvent;

import com.mg.framework.kernel.Assets;
import com.mg.framework.kernel.Screen;
import com.mg.framework.kernel.Touchable;

public class LogoScreen extends Screen implements Touchable {

	public LogoScreen(int width, int height) {
		super(width, height);
		this.addActor("logo", new Logo(this, Assets.logo));
	}

	@Override
	public void gameUpdate() {
		this.getBaseActor("logo").gameUpdate();
	}

	@Override
	public void screenUpdate(Canvas canvas) {
		this.getBaseActor("logo").screenUpdate(canvas);
	}

	@Override
	public void onTouchEvent(MotionEvent event) {
		super.dispense(event);
	}

	@Override
	public boolean isTouched(MotionEvent event) {
		return true;
	}
}
